import request from "../utils/request"

//获取成绩全部列表
export function getScoreList(params) {
    return request.get("/score",{params});
}

// 新增
export function addScore(data){
    return request.post('/score',data)
}

// 编辑
export function editScore(id,data){
    return request.put(`/score/${id}`,data)
}

// 删除
export function delScore(id){
    return request.delete(`/score/${id}`)
}